<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>伪类选择器</title>
    <style>
        /* a:hover{
            color: red;
        } */
        /* a:link{
            color: red;

        } */
         /* a:visited{
            color: red;
         } */
        /* a:active{
            color: red;
        } */


        .box:hover{
            background-color: green;
        }
    </style>
</head>
<body>
    <a href="#">a标签 超链接</a>
    <div class="box">div标签</div>
</body>
</html>